package com.quanyue.music.user.mapper;

import com.quanyue.music.domain.entity.Manager;
import com.shzisg.mybatis.mapper.auto.AutoMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface ManagerMapper extends AutoMapper<Manager> {

    Manager findByPasswordValid(@Param("username") String username, @Param("password") String password);

    Manager findByName(@Param("username") String username, @Param("role") String role);
}
